package com.example.demo.service;


import com.example.demo.entity.MyArray;
import com.example.demo.entity.Prize;
import com.example.demo.entity.PrizesInActivities;

import java.util.List;

public interface PrizeService {
    List<PrizesInActivities> getPrizeByActivityId(Integer activityId);

    Integer addPrize(Integer activityId, Integer goodId, Float goodProbability);

    int delPrize(MyArray prizes);

    public Integer lotteryDraw(Integer activityId);
    Integer editProbability(Integer activityId, Integer goodId, Float goodProbability);
}
